-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#944] Implement authorship analysis #2030
Conversation
…to authorship reporter
switch to a new segment if changes
@SkyBlaise99 How is the performance affected? For example, for https://github.com/nus-cs2103-AY2223S2/tp-dashboard |
getDeletedLineWithHighestSimilarityInDiff returning null
Here's a comparison:
I'm not sure why but somehow running locally is slower. P.S. currently looking into solutions to lower the timing, but that will probably be in another pr. |
Thanks for the performance data, @SkyBlaise99 @reposense/active-developers can you guys set up such a long-lived feature branch and merge this code to that branch? |
Others, you are welcome and encouraged to give feedback on this work, but there is no need for a thorough code review until we are ready to merge this work to the master branch. |
Hi @SkyBlaise99, I've created a branch on the repo for you to work with at https://github.com/reposense/RepoSense/tree/944-analyze-authorship. Do let me know if you need any additional support for it |
@SkyBlaise99 For any future work, I think the recommended workflow is to create PRs with |
@ckcherry23 noted with thanks. Then in that case should I close this PR since it is already on |
@SkyBlaise99 you could mark it as draft - it would be a long-term PR that you can merge into, and mark back as open when ready |
@SkyBlaise99 Yep, closing this PR sounds like a good idea. If you need some comments from us, could PR to the other branch instead and ping us. |
Okay, then closing this PR and further improvements will be made towards this branch instead. |
The following links are for previewing this pull request:
|
Fixes #944
Proposed commit message
Other information
There is a small change as compared to the initial idea. I have set the default value for
isFullCredit
totrue
in LineInfo.java. When the feature is turned off, the default behavior should be that the last author is given full credit.Sample preview: